package com.lifeng.patterns.facade;

/**
 * Created by lifeng on 2019/9/24.
 */
public class Facade {
    private UserSystem userSystem = new UserSystem();
    private RiskSystem riskSystem = new RiskSystem();
    private OrderSystem orderSystem = new OrderSystem();

    /**下单*/
    public void order(){
        userSystem.userCheck();
        riskSystem.riskCheck();
        orderSystem.orderSave();
    }
}
